<table class="table table-bordered table-stripped">
<a href="<?php echo base_url()."index.php/dashboard/tambah_minuman"; ?>" class="btn btn-warning">Update</a>
	<tr>
		<th>no</th>
		<th>gambar</th>
		<th>nama minuman</th>
		<th>Bahan-Bahan</th>
		<th>Keterangan</th>
		<th>Aksi</th>
	</tr>

	<?php $no=1?>
	<?php foreach ($minuman as $n):?>
	<tr>
		<td><?php echo $no?></td>
		<td><?php echo $n->gambar?></td>
		<td><?php echo $n->nama?></td>
		<td><?php echo $n->bahan?></td>
		<td><?php echo $n->cara?></td>
		<td>
		<a href="<?php echo base_url()?>index.php/minumancontrollers/edit/<?php echo $n->id_minuman?>" class="btn btn-warning">Update</a>
		&nbsp;
		<a href="<?php echo base_url()?>index.php/minumancontrollers/delete/<?php echo $n->id_minuman?>" class="btn btn-danger">Hapus</a>
		</td>
	</tr>
	<?php $no++?>

<?php endforeach?>

</table>
